package web.suzy.oj.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * YangSuzy 软件工作室
 * 类名: JedisPoolConfigure
 * 描述: Jedis连接池
 * 功能: ---- 待定 -----
 *
 * @author YangSuzy
 * Date: 2022/11/13 21:20
 */
@Component
@RefreshScope
@ConfigurationProperties(prefix = "suzyoj.redis")
@Data
public class JedisPoolConfigure {
    private String host;

    private Integer port;

    private String password;
}
